package com.hailian.fintech.feignserver.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

import java.math.BigDecimal;

@FeignClient(name = "hl-auto-server")
public interface UserFeign {
    @RequestMapping("user/moneyChange")
    @ResponseBody
    public Object moneyChange(@RequestParam("id") Integer id, @RequestParam("stauts")String stauts, @RequestParam("money")BigDecimal money);
}
